#include <iostream>
#include <string>
#include "FileHelper.hpp"

using namespace std;

FileHelper::FileHelper(FILE *file)
{
  this->file = file;
}

char FileHelper::next()
{
  return fgetc(this->file);
}

void FileHelper::back()
{
  fseek(this->file, -1L, SEEK_CUR);
}
